<?php
// $Id: index.php 205 2012-03-14 08:59:49Z tomqin@gmail.com $

session_start();

define('ARESCMS_PATH', dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR);

require '../system/base.php';

Base::loadLibrary('controller/admin');

if(AdminUser::checkLogin()){
    AdminController::run();
}else{
    AdminController::login();
}

?>